package com.yociyy.admin.model.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 角色和部门关联
 *
 * @author Y.yang
 * @date 2020-3-06
 */
@Data
@Accessors(chain = true)
public class BaseRoleDept implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 角色ID
	 */
	@Id
	private Long roleId;

	/**
	 * 部门ID
	 */
	@Column(name = "dept_id")
	private Long deptId;

}
